package edu.nuist.app.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangzhuangzhuang
 * @DESC:
 * @date 2022-04-03 16:33
 */
@RestController
public class HelloController {

	@RequestMapping("/hello/{hostinfo}")
	public String printInfo(@PathVariable(name = "hostinfo")String hostinfo){
		return "Hello" + hostinfo;
	}
}